import request from '@/utils/request'

// 查询一客一价列表
export function listProductusermoney(query) {
  return request({
    url: '/business/productusermoney/list',
    method: 'get',
    params: query
  })
}

// 查询一客一价详细
export function getProductusermoney(id) {
  return request({
    url: '/business/productusermoney/' + id,
    method: 'get'
  })
}

// 新增一客一价
export function addProductusermoney(data) {
  return request({
    url: '/business/productusermoney',
    method: 'post',
    data: data
  })
}

// 修改一客一价
export function updateProductusermoney(data) {
  return request({
    url: '/business/productusermoney',
    method: 'put',
    data: data
  })
}

// 删除一客一价
export function delProductusermoney(id) {
  return request({
    url: '/business/productusermoney/' + id,
    method: 'delete'
  })
}
